Returns a file name with a new path name substituted for the old one. Also available as a native function in Visual FoxPro.
Syntax
ForceExt(cFilename, cPath)
cFilename
Specifies the file name (with or without a path or extension) which will get a new path.
cPath
Specifies the new path for cFilename.
Return Type
Character